package org.PropertyManageMentSystem.Data;

import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;

public class Action {
    private Long actionId;
    private Long scheduleId;
    private Long workerId;
    private Timestamp starttime;
    private Timestamp endtime;
    private String info;

    public Action(Long actionId, Long scheduleId, Long workerId, Timestamp starttime, Timestamp endtime, String info) {
        this.actionId = actionId;
        this.scheduleId = scheduleId;
        this.workerId = workerId;
        this.starttime = starttime;
        this.endtime = endtime;
        this.info = info;
    }

    public Long getActionId() {
        return actionId;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public Timestamp getStarttime() {
        return starttime;
    }

    public Timestamp getEndtime() {
        return endtime;
    }

    public String getInfo() {
        return info;
    }
}
